}
if (priv->texture != NULL &&
- (width != cogl_texture_get_width (priv->texture) ||
- height != cogl_texture_get_height (priv->texture)))
+ (width != (int)cogl_texture_get_width (priv->texture) ||
+ height != (int)cogl_texture_get_height (priv->texture)))
{
cogl_object_unref (priv->texture);
priv->texture = NULL;
{
gdouble *ret, sum;
gdouble exp_divisor;
- gint half, i;
+ guint half, i;
g_return_val_if_fail (sigma > 0, NULL);
gboolean draw_background_image_shadow = FALSE;
gboolean has_visible_outline;
ClutterColor border_color;
- int border_width[4];
+ guint border_width[4];
guint rowstride;
guchar *data;
ClutterActorBox actor_box;
{
StThemeNode *node = state->node;
float width, height;
- int border_width[4];
+ guint border_width[4];
guint border_radius[4];
- int max_border_radius = 0;
- int max_width_radius[4];
+ guint max_border_radius = 0;
+ guint max_width_radius[4];
int corner_id, side_id;
ClutterColor border_color;
guint8 alpha;
st_widget_finalize (GObject *gobject)
{
StWidgetPrivate *priv = ST_WIDGET (gobject)->priv;
- int i;
+ guint i;
g_free (priv->style_class);
g_free (priv->pseudo_class);
st_widget_init (StWidget *actor)
{
StWidgetPrivate *priv;
- int i;
+ guint i;
actor->priv = priv = ST_WIDGET_GET_PRIVATE (actor);
priv->transition_animation = NULL;